#include <stdio.h>
#include "sqqueue.h"


int main( int argc, char *argv [] ){

    sqqueue sq = queue_create();
    if( sq == NULL )
	return -1;

    enqueue( sq, 10 );
    enqueue( sq, 20 );
    enqueue( sq, 30 );
    enqueue( sq, 40 );
    enqueue( sq, 50 );
    enqueue( sq, 60 );

    while( !queue_empty( sq ) )
	printf( "dequeue: %d\n", dequeue( sq ) );

    queue_free( sq );

    return 1;
}
